const {body} = require('express-validator')
const validate = require('../middleware/validate')


exports.addPubKey = validate([
  body('content').notEmpty().withMessage('content不能为空')
])